home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 028a / fsp183.zip / FSP.TXT < prev    next >
Text File  |  1991-08-04  |  103KB  |  2,583 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.                              FLU_SHOT+, Version 1.83
  30.  
  31.                            A Form of Protection from
  32.                             Viral and Trojan Programs
  33.  
  34.  
  35.                                        by
  36.                                 Ross M. Greenberg
  37.                                        and
  38.                             Software Concepts Design
  39.                                 594 Third Avenue
  40.                             New York, New York 10016
  41.                        BBS:(212)-889-6438 1200|2400|N/8/1
  42.  
  43.              
  44.  
  45.                      _______
  46.                 ____|__     |               (TM)
  47.              --|       |    |-------------------
  48.                |   ____|__  |  Association of
  49.                |  |       |_|  Shareware
  50.                |__|   o   |    Professionals
  51.              -----|   |   |---------------------
  52.                   |___|___|    MEMBER
  53.              
  54.              
  55.  
  56.  
  57.  
  58.  
  59.               FLU_SHOT+ is a trademark of Software Concepts Design.
  60.               Copyright (C), 1988-1990 by Software Concepts Design.
  61.                               All Rights Reserved.
  62.  
  63.  
  64.         Not for Commercial Distribution without written permission by the 
  65.         copyright holder. Noncommercial copying of this software and this 
  66.         documentation is encouraged.  Commercial Distribution is easily 
  67.         defined: if you distribute this software, or the enclosed 
  68.         documentation, for more than your cost of such distribution, then 
  69.         you're a Commercial Distributor and require our written 
  70.         permission.  Not-for-profit organizations and computer user 
  71.         groups, and their bulletin board systems (if any) are 
  72.         specifically *not* considered commercial distributors.
  73.  
  74.         By your using this software, you agree to the terms herein.  
  75.         Specifically, that you do not have the right to copy this 
  76.         software except as outlined above, and that you are granted a 
  77.         license to use this software only by registering this software as 
  78.         mentioned elsewhere in this document.
  79.  
  80.         You also agree, and signify that agreement by using this 
  81.         software, that Software Concepts Design and Ross M. Greenberg 
  82.         will not be held liable for any reason for any cost you may 
  83.         incur, or any potential income you might lose as a result of 
  84.         using this software.  Finally, this software is provided "AS IS", 
  85.         meaning that what you see is what you get.  If you use this 
  86.         software and a tree falls on your house, or your spouse leaves 
  87.         you for someone younger and more virile, please do not bother 
  88.         having your lawyer call -- it isn't the fault of the software, no 
  89.         matter what the lawyer tries to convince you!  Maybe lawyers 
  90.         should all work on a shareware basis: they only get paid if 
  91.         you're satisfied with their work?  One can dream....
  92.  
  93.         Software Concepts Design can be reached by the following means
  94.         *by*registered*users* of FLU_SHOT+:
  95.  
  96.              Telephone:  Monday-Friday, 9am - 5pm (EST):  212-889-6431
  97.              RamNet BBS: 212-889-6438
  98.              MCI:        'greenber'
  99.              BIX:        'greenber'
  100.              CompuServe:  [72461, 3212]
  101.  
  102.  
  103.  
  104.  
  105.         Table of Contents
  106.  
  107.         I.   Introduction
  108.              a.   What is a Trojan.....................................1
  109.              b.   What is a Virus......................................4
  110.              c.   The Challenge to the Worm............................6
  111.  
  112.         II.  About the FLUSHOT Series
  113.              a.   A Brief History......................................8
  114.              b.   FLU_SHOT+ Features and Enhancements..................9
  115.              c.   Registering FLU_SHOT+................................10
  116.              d.   Site Licensing of FLU_SHOT+..........................10
  117.  
  118.         III. Using FLU_SHOT+
  119.  
  120.              a.   Down and Dirty Installation: Step-By-Step............12
  121.              b.   The FLUSHOT.DAT file.................................14
  122.                   1.   Protecting files from Write Access..............15
  123.                   2.   Protecting files from Read Access...............15
  124.                   3.   Excluding files.................................15
  125.                   4.   Checksumming files..............................16
  126.                   5.   Registering a TSR program.......................17
  127.                   6.   Restricted Access...............................17
  128.                   7.   Protecting the FLUSHOT.DAT file.................18
  129.                   8.   Protection Recommendations......................18
  130.                   9.   Allowing "dangerous" programs to run............19
  131.                  10.   Protecting your Boot Track......................19
  132.  
  133.              c.   Running FLU_SHOT+....................................20
  134.                   1.   Checksumming the in-memory table................20
  135.                   2.   Intercepting Direct Disk Writes Through INT13...21
  136.                   3.   What about INT26................................21
  137.                   4.   Turning off the header message..................21
  138.                   5.   Disabling Triggering on Open With Write Access..21
  139.                   6.   Changing the Trigger Window Attributes..........21
  140.                   7.   Allowing trusted TSR's to work..................23
  141.                   8.   Disabling FLU_SHOT+.............................23
  142.                   9.   Disabling FLU_SHOT+ Toggle Display..............24
  143.                  10.   Forcing FLU_SHOT+ to only use the BIOS..........24
  144.                  10.   Defining the "Special" Keys.....................25
  145.                  11.   Putting FLU_SHOT+ to sleep when run.............25
  146.  
  147.         IV.  Interpreting a FLU_SHOT+ Trigger..........................26
  148.  
  149.         V.   How Good is FLUSHOT+, Really?.............................30
  150.  
  151.         VI.  Reward Offered............................................31
  152.  
  153.         VII. Appendices
  154.              Appendix A:  Common Questions and Their Answers...........33
  155.              Appendix B:  How Does A Virus Work?.......................38
  156.  
  157.  
  158.  
  159.                                   Introduction
  160.  
  161.         What is a Trojan?
  162.         =================
  163.  
  164.         Back in the good old days (before there were computers), there 
  165.         was this bunch of soldiers who had no chance of beating a 
  166.         superior force or of even making it into their fortress.  They 
  167.         had this nifty idea:  present the other side with a gift.  Once 
  168.         the gift had been accepted, soldiers hiding within the gift would 
  169.         sneak out and overtake the enemy from within.
  170.  
  171.         We can only think of the intellectual giants of the day who would 
  172.         accept a gift large enough to house enemy soldiers without 
  173.         checking its contents.  Obviously, they had little opportunity to 
  174.         watch old WWII movies to see the same device used over and over 
  175.         again.  They probably wouldn't have appreciated Hogan's Heroes 
  176.         anyway.  No color TV's -- or at least not ones with reliable 
  177.         reception.
  178.  
  179.         Consider the types of people who would be thrilled at the concept 
  180.         of owning their own rough hewn, large wooden horse!  Perhaps they 
  181.         wanted to be the first one on their block, or something silly 
  182.         like that.
  183.  
  184.         Anyway, you're all aware of the story of The Trojan Horse.
  185.  
  186.         Bringing ourselves a bit closer to the reality we've all grown to 
  187.         know and love, there's a modern day equivalent:  getting a gift 
  188.         from your BBS or user group which contains a little gem which 
  189.         will attack your hard disk, destroying whatever data it contains.
  190.  
  191.         In order to understand how a potentially useful program can cause 
  192.         such damage when corrupted by some misguided soul, it's useful to 
  193.         understand how your disk works, and how absurdly easy it is to 
  194.         cause damage to the data contained thereon.  So, a brief 
  195.         technical discussion of the operation of your disk is in order.  
  196.         For those who aren't concerned, turn the page or something.
  197.  
  198.         Data is preserved on a disk in a variety of different physical 
  199.         ways having to do with how the data is encoding in the actual 
  200.         recording of that data. The actual *structure* of that data, 
  201.         however, is the same between MS-DOS machines.  Other operating 
  202.         systems have a different structure, but that doesn't concern us 
  203.         now.
  204.  
  205.         Each disk has a number of "tracks". These are sometimes called 
  206.         cylinders from the old type IBMer's.  These are the same people 
  207.         who call hard disks DASDs (Direct Access Storage Devices), so we 
  208.         can safely ignore their techno-speak, and just call them tracks.  
  209.         Tracks can be thought of as the individual little grooves on an 
  210.         audio record, sort of.
  211.  
  212.         Anyway, each track is subdivided into a number of sectors.  Each 
  213.         track has the same number of sectors.  Tracks are numbered, as 
  214.  
  215.                                         1
  216.  
  217.  
  218.  
  219.         are sectors.  Any given area on the disk can be accessed if a 
  220.         request is made to read or write data into or out of Track-X, 
  221.         Sector Y.  The read or write command is given to the disk 
  222.         controller, which is an interface between the computer itself and 
  223.         the hard disk.  The controller figures out what commands to send 
  224.         to the hard disk,  the hard disk responds and the data is read or 
  225.         written as directed.
  226.  
  227.         The first track on the hard disk typically will contain a small 
  228.         program which is read from the hard disk and executed when you 
  229.         first power up your machine.  The power up sequence is called 
  230.         "booting" your machine, and therefore the first track is typical 
  231.         known as the "boot track".
  232.  
  233.         In order to read information from your disk in a logical 
  234.         sequence, there has to be some sort of index.  An unusual index 
  235.         method was selected for MS-DOS.  Imagine going to the card index 
  236.         in a library, looking up the title you desire, and getting a 
  237.         place in another index which tells you where on the racks where 
  238.         the book is stored.  Now, when you read the book, you discover 
  239.         that only the first chapter of the book is there.  In order to 
  240.         find the next chapter of the book, you have to go back to that 
  241.         middle index, which tells you where the next chapter is stored.  
  242.         This process continues until you get to the end of the book.  
  243.         Sounds pretty convoluted, right?  You bet!  However, this is 
  244.         pretty much how MS-DOS does its "cataloguing" of files.
  245.  
  246.         The directory structure of MS-DOS allows for you to look up an 
  247.         item called the "first cluster".  A cluster represents a set of 
  248.         contiguous ("touching or in contact" according to Random House) 
  249.         tracks and sectors.  It is the smallest amount of information 
  250.         which the file structure of MS-DOS knows how to read or write.
  251.  
  252.         Based on the first cluster number as stored in the directory, the 
  253.         first portion of a file can be read.  When the information 
  254.         contained therein is exhausted, MS-DOS goes to that secondary 
  255.         index for a pointer to the next cluster.  That index is called 
  256.         the File Allocation Table, commonly abbreviated to "FAT".  The 
  257.         FAT contains an entry for each cluster on the disk.  An FAT entry 
  258.         can have a few values: ones which indicate that the cluster is 
  259.         unused, another which indicates that the associated cluster has 
  260.         been damaged somehow and that it should be marked as a "bad 
  261.         cluster", and a pointer to the next cluster for a given file.  
  262.         This allows for what is called a linked list:  once you start 
  263.         looking up clusters associated with a given file, each FAT entry 
  264.         tells you what the next cluster is.  At the end of the linked 
  265.         list is a special indicator which indicates that there are no 
  266.         more clusters associated with the file.
  267.  
  268.         There are actually two copies of the FAT stored on your disk, but 
  269.         no one really knows what the second copy was intended for.  
  270.         Often, if the first copy of the FAT is corrupted for some reason, 
  271.         a clever programmer could recover information from the second 
  272.         copy to restore to the primary FAT.  These clever programmers can 
  273.         be called "hackers", and should not be confused with the thieves 
  274.  
  275.                                         2
  276.  
  277.  
  278.  
  279.         who break into computer systems and steal things, or the "worms" 
  280.         [Joanne Dow gets credit for *that* phrase!] who would get joy out 
  281.         of causing you heartache!
  282.  
  283.         But that heartache is exactly what can happen if the directory 
  284.         (which contains the pointer to the first cluster a file uses), 
  285.         the FAT (which contains that linked list to other areas on the 
  286.         disk which the file uses), or other areas of the disk get 
  287.         corrupted.
  288.  
  289.         And that's what the little worms who create Trojan programs do:  
  290.         they cause what at first appears to be a useful program to 
  291.         eventually corrupt the important parts of your disk.  This can be 
  292.         as simple as changing a few bytes of data, or can include wiping 
  293.         entire tracks clean.
  294.  
  295.         Not all programs which write to your hard disk are bad ones, 
  296.         obviously.  Your word processor, spreadsheet, database and 
  297.         utility programs have to write to the hard disk.  Some of the DOS 
  298.         programs (such as FORMAT), if used improperly, can also erase 
  299.         portions of your hard disk causing you massive amounts of grief.  
  300.         You'd be surprised what damage the simple "DEL" command can do 
  301.         with just a simple typo.
  302.  
  303.         But, what defines a Trojan program is its delivery mechanism: the 
  304.         fact that you're running something you didn't expect.  Typical 
  305.         Trojan programs cause damage to your data, and were designed to 
  306.         do so by the worms who writhe in delight at causing this damage.  
  307.         May they rot in hell -- a mind is a terrible thing to waste!
  308.  
  309.         Considering the personality required to cause such damage, you 
  310.         can rest assured that they have few friends, and even their 
  311.         mother doesn't like to be in the same room with them.  They sit 
  312.         back and chortle about the damage they do with a few other lowly 
  313.         worms.  This is their entire social universe. You should pity 
  314.         them.  I know that I do.
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.                                         3
  337.  
  338.  
  339.  
  340.                                   Introduction
  341.  
  342.         What is a Virus?
  343.         ================
  344.  
  345.         Trojan programs are but a delivery mechanism, as stated above.  
  346.         They can be implemented in a clever manner, so that they only 
  347.         trigger the malicious part on a certain date, when your disk 
  348.         contains certain information or whatever.  However they're coded, 
  349.         though, they typically affect the disk only in a destructive 
  350.         manner once triggered.
  351.  
  352.         A new breed of programs has the capability of not only reserving 
  353.         malicious damage for a given event's occurrence, but of also 
  354.         replicating itself as well.
  355.  
  356.         This is what people refer to when they mention the term "Virus 
  357.         Program".
  358.  
  359.         Typically, a virus will spread itself by replicating a portion of 
  360.         itself onto another program.  Later, when that normally safe 
  361.         program is run it will, in part, execute a set of instructions 
  362.         which will infect other programs and then potentially, trigger 
  363.         the Trojan portion of the program contained within the virus.
  364.  
  365.         The danger of the virus program is twofold. First, it contains a 
  366.         Trojan which will cause damage to your hard disk.  The second 
  367.         danger is the reason why everyone is busy building bomb shelters.  
  368.         This danger is that the virus program will infect other programs 
  369.         and they in turn will infect other programs and so forth.  Since 
  370.         it can also infect programs on your floppy disks, you could 
  371.         unknowingly infect other machines!  Pretty dangerous stuff, 
  372.         alright!
  373.  
  374.         Kenneth van Wyck, one of the computer folks over at Lehigh 
  375.         University, first brought a particular virus to the attention of 
  376.         the computer community.  This virus infects a program, which 
  377.         every MS-DOS computer must have, called COMMAND.COM.  This is the 
  378.         Command Line Interpreter and is the interface between your 
  379.         keyboard and the MS-DOS operating system itself.  Whatever you 
  380.         type at the C> prompt will be interpreted by it.
  381.  
  382.         Well, the virus subverts this intended function, causing the 
  383.         infection of neighboring COMMAND.COMs before continuing with 
  384.         normal functionality of the command you typed.  After a certain 
  385.         number of "infections", the Trojan aspect of the program goes 
  386.         off, causing you to lose data.
  387.  
  388.         The programmer was clever.  But still a worm.  And still 
  389.         deserving of contempt instead of respect.  Think of what good 
  390.         purposes the programmer could have put his or her talents to 
  391.         instead of creating this damage.  And consider what this 
  392.         programmer must do, in covering up what they've done.  They 
  393.         certainly can't tell anyone what they've accomplished.  
  394.         Justifiable homicide comes to mind, but since the worms they must 
  395.  
  396.                                         4
  397.  
  398.  
  399.  
  400.         hang around are probably as disreputable as they are, they must 
  401.         hold their little creation a secret.
  402.  
  403.         A pity.  Hopefully, the worm is losing sleep.  Or getting a sore 
  404.         neck looking behind them wondering which of their "friends" are 
  405.         gonna turn them in for the reward I list towards the end of this 
  406.         document.
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.                                         5
  458.  
  459.  
  460.  
  461.                                   Introduction
  462.  
  463.         The Challenge to the Worm
  464.         =========================
  465.  
  466.         When I first released a program to try to thwart their demented 
  467.         little efforts, I published this letter in the archive (still in 
  468.         the FLU_SHOT+ archive of which this is a part of).  What I say in 
  469.         it still holds:
  470.  
  471.                     As for the designer of the virus program: most 
  472.                     likely an impotent adolescent, incapable of 
  473.                     normal social relationships, and attempting to 
  474.                     prove their own worth to themselves through 
  475.                     these type of terrorist attacks.
  476.  
  477.                     Never succeeding in that task (or in any 
  478.                     other), since they have no worth, they will one 
  479.                     day take a look at themselves and what they've 
  480.                     done in their past, and kill themselves in 
  481.                     disgust.  This is a Good Thing, since it saves 
  482.                     the taxpayers' money which normally would be 
  483.                     wasted on therapy and treatment of this 
  484.                     miscreant.
  485.  
  486.                     If they *really* want a challenge, they'll try 
  487.                     to destroy *my* hard disk on my BBS, instead of 
  488.                     the disk of some innocent person.  I challenge 
  489.                     them to upload a virus or other Trojan horse to 
  490.                     my BBS that I can't disarm.  It is doubtful the 
  491.                     challenge will be taken: the profile of such a 
  492.                     person prohibits them from attacking those who 
  493.                     can fight back.  Alas, having a go with this  
  494.                     lowlife would be amusing for the five minutes 
  495.                     it takes to disarm whatever they invent.
  496.  
  497.                     Go ahead, you good-for-nothing little 
  498.                     slimebucket:  make *my* day!
  499.  
  500.  
  501.         Alas, somebody out there opted to do the cowardly thing and to 
  502.         use the FLUSHOT programs as a vehicle for wrecking still more 
  503.         destruction on people like you.  The FLUSHOT3 program was 
  504.         redistributed along with a companion program to aid you in 
  505.         reading the documentation.  It was renamed FLUSHOT4.  And the 
  506.         reader program was turned into a Trojan itself.
  507.  
  508.         I guess the programmer involved was too cowardly to take me up on 
  509.         my offer and prefers to hurt people not capable of fighting back.  
  510.         I should have known that, I suppose, but I don't normally think 
  511.         of people who attack innocents. Normally, I think of people to 
  512.         respect, not people to pity, certainly not people who must cause 
  513.         such damage in order to "get off".
  514.  
  515.         They are below contempt, obviously, and can do little to help 
  516.  
  517.                                         6
  518.  
  519.  
  520.  
  521.         themselves out of the mire they live in.
  522.  
  523.         Still, a worm is a worm.
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.                                         7
  579.  
  580.  
  581.  
  582.                                   About FLUSHOT
  583.  
  584.         A Brief History
  585.         ===============
  586.  
  587.         The original incarnation of FLU_SHOT was a quick hack done in my 
  588.         spare time.  It had a couple of bugs in it which caused it to 
  589.         trigger when it shouldn't, and a few conditions which I had to 
  590.         fix.  A strangeness in how COMMAND.COM processed certain 
  591.         conditions when I "failed" an operation caused people to lose 
  592.         more data than they had intended -- certainly not my intent!
  593.  
  594.         FLU_SHOT was modified and became FLUSHOT2.  It included some 
  595.         additional protections, protecting some other important system 
  596.         files, and protecting against direct disk writes which can be 
  597.         used to circumvent FLUSHOT's protection mechanisms.
  598.  
  599.         Additionally, FLUSHOT2 forced an exit of the program currently 
  600.         running instead of a fail condition when you indicated that an 
  601.         operation should not be carried out.
  602.  
  603.         FLUSHOT2 was also now distributed in the popular archive format 
  604.         (have you remembered to send your shareware check into Phil Katz 
  605.         for his efforts?  You really should.  It ain't that much money!).
  606.  
  607.         Next came FLUSHOT3. A bug was fixed which could have caused 
  608.         certain weird things when you denied direct disk I/O to certain 
  609.         portions of DOS 3.x. 
  610.  
  611.         The enhancements to FLUSHOT3 included the ability to enter a 'G' 
  612.         when FLUSHOT was triggered.  This allowed FLUSHOT to become 
  613.         inactive until an exit was called by the foreground task.  So, 
  614.         when you used some trustworthy program which did direct disk I/O, 
  615.         you wouldn't be pestered with constant triggering after you enter 
  616.         the 'G'.  Primarily this was a quick hack to allow programs such 
  617.         as the FORMAT program to run without FLUSHOT being triggered each 
  618.         time it tried to do any work it was supposed to.
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.                                         8
  640.  
  641.  
  642.  
  643.                                   About FLUSHOT
  644.  
  645.         FLU_SHOT+ Features and Enhancements
  646.         ===================================
  647.  
  648.         This release of FLU_SHOT has a new name: FLU_SHOT+.  Because 
  649.         FLUSHOT4 was a Trojan, I opted to change the name.  Besides, 
  650.         FLU_SHOT+ is the result of some real effort on my part, instead 
  651.         of being a part-time quick hack.  I hope the effort shows.
  652.  
  653.         FLUSHOT is now table driven.  That table is in a file which I 
  654.         call FLUSHOT.DAT.  It exists in the root directory on your C: 
  655.         drive.  However, I'll advise you later on how to change its 
  656.         location so that a worm can't create a Trojan to modify that 
  657.         file.
  658.  
  659.         This file now allows you to write and/or read protect entire 
  660.         classes of programs.  This means that you can write protect from 
  661.         damage all of your *.COM, *.EXE, *.BAT, and *.SYS files.  You can 
  662.         read protect all of your *.BAT files so that a nasty program can 
  663.         not even determine what name you used for FLU_SHOT+ when you 
  664.         invoked it!
  665.  
  666.         Additionally, you can now automatically check programs when you 
  667.         first invoke FLU_SHOT+ to determine if they've changed since you 
  668.         last looked at them.  Called checksumming, it allows you to know 
  669.         immediately if one of the protected programs has been changed 
  670.         when you're not looking.  Additionally, this checksumming can 
  671.         even take place each time you load the program for execution.
  672.  
  673.         Also, FLU_SHOT+ will advise you when any program "goes TSR".  TSR 
  674.         stands for "Terminate and Stay Resident", allowing pop-ups and 
  675.         other useful programs to be created.  A worm could create a 
  676.         program which leaves a bit of slime behind.  Programs like 
  677.         Borland's SideKick program, a wonderful program and certainly not 
  678.         a Trojan or virus, is probably the best known TSR.   FLU_SHOT+ 
  679.         will advise you if any program attempts to go TSR which you 
  680.         haven't already registered in your FLUSHOT.DAT file.
  681.  
  682.         Finally, FLU_SHOT+ will also now pop-up a little window in the 
  683.         middle of your screen when it gets triggered.  It also will more 
  684.         fully explain why it was triggered.  The pop-up window means that 
  685.         your screen won't get screwed up beyond recognition -- unless 
  686.         you're in graphics mode when it pops up.  Sorry, 'dems the 
  687.         breaks!
  688.  
  689.         This version, FLU_SHOT+, has some other substantial improvements 
  690.         on the security side, has a couple of bug fixes here and there 
  691.         and is generally the same program - just a little more reliable, 
  692.         and a little more user friendly.  And, more closely attuned to 
  693.         what you, the user community, have asked me for.
  694.  
  695.         More information about FLU_SHOT+ and its enhancements can be 
  696.         found in the file "UPDATES.TXT", in the archive.  My thanks to 
  697.         Mr. Mark Hamilton of the UK for some enhancements ideas and code.
  698.  
  699.  
  700.                                         9
  701.  
  702.  
  703.  
  704.  
  705.                                   About FLUSHOT
  706.  
  707.         Registering FLU_SHOT+
  708.         =====================
  709.  
  710.         FLU_SHOT+ is not a free program.  You're encouraged to use it, to 
  711.         distribute it to your friends and co-workers.  If you end up not 
  712.         using it for some reason, let me know why and I'll see if I can 
  713.         do something about it in the next release.
  714.  
  715.         But, the right to use FLU_SHOT+ is contingent upon you paying for 
  716.         the right to use it.  I ask for fifteen dollars as a registration 
  717.         fee, plus four dollars to meet my costs for shipping, handling, 
  718.         and processing each order.  This entitles you to get informed 
  719.         when the next update is available, and to have someone available 
  720.         to help support you with any problem you might have with the 
  721.         program.  And it allows you to pay me, in part, for my labor in 
  722.         creating the entire FLU_SHOT series.  I don't expect to get my 
  723.         normal consulting rate or to get a return equal to that of other 
  724.         programs which I've developed and sell through more traditional 
  725.         channels.  That's not my intent, or I would have made FLU_SHOT+ a 
  726.         commercial program and you'd be paying lots more money for it.
  727.  
  728.         Some people are uncomfortable with the shareware concept, or 
  729.         believe that there ain't no such thing as Trojan or Virus 
  730.         programs, and that a person who profits from the distribution of 
  731.         a program such as FLU_SHOT must be in it for the money.  Although 
  732.         I sympathize with their feelings, I feel that a user of FLU_SHOT 
  733.         simply *must* pay for their usage of the program -- using it for 
  734.         free is paramount to stealing, and we know how wrong that is!
  735.  
  736.         I've created an alternative for these folks.  I'll call it 
  737.         "charityware" [first called that, to my knowledge, by Roedy 
  738.         Green].  You can also register FLU_SHOT+ by sending me a check 
  739.         for $15 made out to your favorite charity. And a check made out 
  740.         to me for $4 to handle my costs.  Be sure to include a stamped 
  741.         and addressed envelope.  I'll forward the monies onto them and 
  742.         register you fully.
  743.  
  744.         Of course, if you wish, you can send me a check for more than 
  745.         $19.  I'll cash it gladly (I'm no fool!).
  746.  
  747.  
  748.         Site Licensing of FLU_SHOT+
  749.         ===========================
  750.  
  751.         So, you run the computer department of a big corporation, you got 
  752.         a copy of FLU_SHOT+, decided it was wonderful and that it  did 
  753.         everything you wanted and sent in your ten bucks.  Then you 
  754.         distributed it to your 1000 users.
  755.  
  756.         Not what is intended by the shareware scheme.  *Each* site using 
  757.         FLU_SHOT+ should be registered.  That's ten bucks a site, me 
  758.         bucko!  Again, make the check out to charity if you're 
  759.  
  760.                                        10
  761.  
  762.  
  763.  
  764.         uncomfortable with the idea of a programmer actually deriving an 
  765.         income from their work.
  766.  
  767.         However, if you've really got 1000 computers, you should give me 
  768.         a call.  As much as I'd like to get $15 for each site, that 
  769.         wouldn't be fair to you.  So, quantity discounts are available.
  770.  
  771.         Here's our quantity discount schedule.  Remember to add in the 
  772.         four dollar charge for each order.
  773.  
  774.                   Quantity            Price Each
  775.                ==============       ===============
  776.                 1 -  49                $15 + $4/order
  777.                50 - 249                $12 + $4/order
  778.               250 - 499                $10 + $4/order
  779.               500 - 9999               $ 8 + $4/order
  780.               10,000+                No Charge (after paying for 9999!)
  781.  
  782.         Site licensee's get a "gold" disk, and make their own copies at 
  783.         their site, working on the honor system.  Each site license does 
  784.         require a separate agreement, so be sure to give us a call to 
  785.         work out the details.  End-user contact *must* be through a 
  786.         single contact point in order for any of these discounts to 
  787.         apply.
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.                                        11
  822.  
  823.  
  824.  
  825.                                  Using FLU_SHOT+
  826.  
  827.         Down and Dirty Installation: Step By Step
  828.         =========================================
  829.  
  830.         Consider this area of the manual to be the "I hate to read 
  831.         manuals" approach.  We encourage you to read the manual, since 
  832.         about 90% of our tech support calls are answered by telling the 
  833.         caller to turn to a given page in the manual.  Some people, 
  834.         however, just want the ability to use the product immediately, 
  835.         without wading through the manual.  So, if you're one of those 
  836.         gung-ho'ers, here's a step-by-step approach:
  837.  
  838.         1)   If you received FLU_SHOT+ on a diskette, place that diskette 
  839.         in the A: drive on your system.  If you received FLU_SHOT+ from a 
  840.         Bulletin Board System, then you've obviously figured out how to 
  841.         de-arc and de-compress the files contained within the archive (if 
  842.         not, how are you reading this?).
  843.  
  844.         2)   Type the following commands:
  845.                   COPY A:FSP.COM C:\
  846.                   COPY A:FLUSHOT.DAT C:\
  847.  
  848.         3)   Make C: your default drive by simply typing "C:", followed 
  849.         by a carriage return.  Make the root directory your default 
  850.         directory simply by typing "CD \", followed by a carriage return.
  851.  
  852.         4)   Type "FSP", followed by a carriage return.  This will invoke 
  853.         FLU_SHOT+.
  854.  
  855.         5)   You should expect to see three error messages.  These will 
  856.         take one of two forms.  One form will tell you that the checksum 
  857.         for the listed file doesn't match the actual checksum for that 
  858.         file.  If you see this message, copy down the displayed number on 
  859.         a separate piece of paper, along with the filename.  Press any 
  860.         key to continue on to the next file.
  861.  
  862.         6)   If you see a message indicating that a given file is not 
  863.         found, then you'll have to remember what the names your computer 
  864.         uses for the on-disk BIOS (FLU_SHOT+ expects "IBMBIO.SYS") and 
  865.         on-disk Disk Operating System (FLU_SHOT+ expects "IBMDOS.SYS") 
  866.         and edit the names in the FLUSHOT.DAT file appropriately.  If, 
  867.         for example, your system uses the name of "IOSYS.SYS" and 
  868.         "MSSYS.SYS" for these files, replace the missing filenames within 
  869.         the FLUSHOT.DAT file to reflect the actual names you use.  When 
  870.         you finish with these edits, reboot your system and start with 
  871.         step 3), above.
  872.  
  873.         7)   At this point, you should have three files with their actual 
  874.         checksums on a piece of paper.  Edit the FLUSHOT.DAT file in your 
  875.         C:\ directory to reflect these checksums.  Replace the default 
  876.         "[12345]" with the actual checksums you've written down.  So, if 
  877.         the actual checksum for your COMMAND.COM file is "32767", the 
  878.         line in your FLUSHOT.DAT to reflect this should read:
  879.                   C=C:\COMMAND.COM[32767]
  880.  
  881.  
  882.                                        12
  883.  
  884.  
  885.  
  886.  
  887.         8)   Reboot your system.  When you invoke FLU_SHOT+, by typing 
  888.         FSP followed by a carriage return, everything should run to 
  889.         completion, leaving you at your C> prompt.
  890.  
  891.         9)   If you wish to cause FLU_SHOT+ to run whenever you first 
  892.         boot your computer, simply edit your AUTOEXEC.BAT file, found in 
  893.         the root directory on your "boot" drive, to include "FSP" as the 
  894.         last line.
  895.  
  896.         10)  For extra security, you might wish to rename the 
  897.         FLUSHOT.DAT.  To do so, read the section in this manual which 
  898.         describes the FLU_POKE program.
  899.  
  900.         11)  If there are any problems in the installation procedure, it 
  901.         probably means that you're using something a little unique in the 
  902.         way of computer equipment or software packages.  You'll have to 
  903.         read the entire document.  Sorry.
  904.  
  905.         12)  FLU_SHOT+, "out of the box", offers some pretty good 
  906.         protection.  If you want to substantially enhance the security 
  907.         FLU_SHOT+ offers you, please read the rest of the manual?  
  908.         Remember that we will *not* answer any tech support calls from 
  909.         people who have not read the manual.
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.                                        13
  944.  
  945.  
  946.  
  947.                                  Using FLU_SHOT+
  948.  
  949.         The FLUSHOT.DAT file
  950.         ====================
  951.  
  952.         FLU_SHOT+ is table driven by the contents of the FLUSHOT.DAT 
  953.         file.  This file normally exists in the root directory of your C: 
  954.         drive (C:\FLUSHOT.DAT).
  955.  
  956.         A little later in this document you'll see how to disguise the 
  957.         data file name, making life tougher for the worms out there.  But 
  958.         for the purposes of this document, we'll assume that the file is 
  959.         called C:\FLUSHOT.DAT.
  960.  
  961.         The FLU_SHOT+ program will read this data file exactly once. It 
  962.         reads the data from the data file into memory and overwrites the 
  963.         name of the data file in so doing.  A little extra protection in 
  964.         hiding the name of the file.
  965.  
  966.         This data file contains a number of lines of text.  Each line of 
  967.         text is of the form:
  968.  
  969.         <Command>=<filename><options>
  970.  
  971.         Command can be any one of the following characters:
  972.  
  973.              P    -    Write Protect the file named
  974.              R    -    Read Protect the file named
  975.              E    -    Exclude the file named from matching P or R lines
  976.              T    -    The named file is a legitimate TSR
  977.              C    -    Perform checksum operations on the file named
  978.  
  979.         The  filename can be an ambiguous file if you wish for all 
  980.         commands except the 'T' and 'C' commands.  This means that:
  981.  
  982.              C:\level1\*.COM
  983.  
  984.         will specify all COM files on your C: drive in the level1 
  985.         directory (or its sub-directories). Specifying:
  986.  
  987.              C:\level1\*\*.EXE
  988.  
  989.         would specify all EXE files in subdirectories under the C:\level1 
  990.         directory, but would not include that directory itself.
  991.  
  992.         You can also use the '?' operator to specify ambiguous characters 
  993.         as in:
  994.  
  995.              ?:\usr\bin\?.COM
  996.  
  997.         would be used to specify files on any drive in the \usr\bin 
  998.         directory on that drive.  The files would have to be single 
  999.         letter filenames with the extension of 'COM'.
  1000.  
  1001.         Ambiguous file names are not allowed for the 'T' and 'C' options.
  1002.  
  1003.  
  1004.                                        14
  1005.  
  1006.  
  1007.  
  1008.                                  Using FLU_SHOT+
  1009.  
  1010.         Protecting files from Write Access
  1011.         ==================================
  1012.  
  1013.         Use the 'P=' option to protect files from write access.  To 
  1014.         disallow writes to any of your COM, EXE, SYS, and BAT files, 
  1015.         specify lines of the form:
  1016.  
  1017.              P=*.COM
  1018.              P=*.EXE
  1019.              P=*.SYS
  1020.              P=*.BAT
  1021.  
  1022.         which protects these files on any disk, in any directory.
  1023.  
  1024.         Protecting files from Read Access
  1025.         =================================
  1026.  
  1027.         Similarly, you can use the 'R' command to protect files from 
  1028.         being read by a program (including the ability to 'TYPE' a 
  1029.         file!).  To prevent read access to all of your BAT files, use a 
  1030.         line such as:
  1031.  
  1032.              R=*.BAT
  1033.  
  1034.         Combinations of R and P lines are allowed, so the combination of 
  1035.         the above lines would prevent read or write access to all batch 
  1036.         files.
  1037.  
  1038.         Excluding files
  1039.         ===============
  1040.  
  1041.         Programmers in particular should find usage for the 'E' command.  
  1042.         This allows you to exclude matching filenames from other match 
  1043.         operations.  Assume you're doing development work in the 
  1044.         C:\develop directory.
  1045.  
  1046.         You could exclude FLU_SHOT+ from being triggered by including a 
  1047.         line such as:
  1048.  
  1049.              E=C:\develop\*.*
  1050.  
  1051.         Of course, you might have development work on many disks under a 
  1052.         directory of that name.  If you do, you might include a line 
  1053.         which looks like:
  1054.  
  1055.              E=?:\develop\*.*
  1056.                   or
  1057.              E=*\develop*
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.                                        15
  1066.  
  1067.  
  1068.  
  1069.  
  1070.         Checksumming files
  1071.         ==================
  1072.  
  1073.         This line is a little more complicated than others and involves 
  1074.         some setup work.  It's worth it though!
  1075.  
  1076.         A checksum is a method used to reduce a files validity into a 
  1077.         single number.  Adding up the values of the bytes which make up 
  1078.         the file would be a simple checksum method.  Doing more complex 
  1079.         mathematics allows for more and more checking information to be 
  1080.         included in a test.
  1081.  
  1082.         If you use a lie on the form:
  1083.  
  1084.              C=C:\COMMAND.COM[12345]
  1085.  
  1086.         then when FLU_SHOT+ first loads it will check the validity of the 
  1087.         file against the number in the square brackets.  If the checksum 
  1088.         calculated does not match the number presented, you'll be advised 
  1089.         with a triggering of FLUSHOT, which presents the correct 
  1090.         checksum.
  1091.  
  1092.         When you first set up your FLUSHOT.DAT file, use a dummy number 
  1093.         such as '12345' for each of the files you wish to checksum.  
  1094.         Then, when you run FLUSHOT, you should copy down the "erroneous" 
  1095.         checksum presented.  Then, edit the FLUSHOT.DAT file and replace 
  1096.         the dummy number with the actual checksum value you had copied 
  1097.         down. Voila! If even one byte in the is changed, you'll be 
  1098.         advised the next time you run FLU_SHOT+.
  1099.  
  1100.         But wait! There's more! Not available in stores!
  1101.  
  1102.         Sorry.  I got carried away.
  1103.  
  1104.         Seriously, there is more.  When a "checksummed" file is loaded by 
  1105.         MS-DOS, it will, by default, be checksummed again.  So, if you 
  1106.         had a line such as:
  1107.  
  1108.              C=C:\usr\bin\WS.COM[12345]
  1109.  
  1110.         the venerable old WordStar program (still *my* editor of choice!) 
  1111.         would be checksummed each time you went to edit a file.
  1112.  
  1113.         Of course, you might not want the overhead of that checksumming 
  1114.         to take place each time you load a program.  Therefore, a few 
  1115.         switches have been added.  The switches are place immediately 
  1116.         after the ']' in the checksum line:
  1117.  
  1118.              C=C:\usr\bin\WS.COM[12345]<switch>
  1119.  
  1120.         These switches are:
  1121.  
  1122.              ,n   -    will only checksum the file only 'n' times. Only
  1123.                        one digit allowed.
  1124.  
  1125.  
  1126.                                        16
  1127.  
  1128.  
  1129.  
  1130.  
  1131.              -    -    Only checksum this file when FLU_SHOT+ first
  1132.                        loads.  ',1' and '-' are equivalent.
  1133.  
  1134.              +    -    Only checksum this file when it is loaded and
  1135.                        executed, not when FLU_SHOT+ first loads
  1136.  
  1137.         Therefore, if you wished to only check your WS.COM file when you 
  1138.         first loaded the FLU_SHOT+ program, you'd specify a line as:
  1139.  
  1140.              C=C:\usr\bin\ws.com[12345],1
  1141.                   or
  1142.              C=C:\usr\bin\ws.com[12345]-
  1143.  
  1144.         If you wished to checksum your program called "MY_PROG.EXE" only 
  1145.         when it was used, try:
  1146.  
  1147.              C=C:\path\MY_PROG.EXE[12345]+
  1148.  
  1149.  
  1150.         Registering a TSR program
  1151.         =========================
  1152.  
  1153.         Any unregistered TSR program which is run after FLU_SHOT+ will 
  1154.         cause a trigger when they "go TSR".  You can register a program 
  1155.         so no trigger goes off by specifying it in a line such as:
  1156.  
  1157.              T=C:\usr\bin\tsr_s\sk.com
  1158.  
  1159.         which will keep FLU_SHOT+ from complaining about sk.com.  Make 
  1160.         sure to take a look at the '-T' option, specified in the next 
  1161.         section.
  1162.  
  1163.         Restricted Access
  1164.         =================
  1165.  
  1166.         Normally, when access to a file causes FLU_SHOT+ to trigger, the 
  1167.         user is given the option of hitting a 'Y' to allow the access, or 
  1168.         a 'G' to allow the access until program exit or a key is hit.  
  1169.         However, in some cases, access to a file should *never* be 
  1170.         allowed.  If you end a line in your FLUSHOT.DAT file with an '!', 
  1171.         then the trigger will indicate that this is a restricted access 
  1172.         file, and the user will be asked to press a key to continue.  In 
  1173.         any case, trigger accesses resulting from a line with a '!' at 
  1174.         the end will not be allowed to go forth.  For example, if you 
  1175.         never want anyone to be able to read an AUTOEXEC.BAT file on any 
  1176.         of your disks, have a line of the form:
  1177.  
  1178.                   R=*AUTOEXEC.BAT!
  1179.  
  1180.         in your FLUSHOT.DAT file.  That's pretty easy!  (Make sure, 
  1181.         however, to take a look at the FSP command line arguments for the 
  1182.         '--' switch.)
  1183.  
  1184.  
  1185.  
  1186.                                        17
  1187.  
  1188.  
  1189.  
  1190.         Protecting the FLUSHOT.DAT file
  1191.         ===============================
  1192.  
  1193.         Obviously, the weak link in the chain of the protection which 
  1194.         FLU_SHOT+ offers you is the FLUSHOT.DAT file.
  1195.  
  1196.         You would think that you'd want to protect the FLUSHOT.DAT file 
  1197.         from reads and writes as specified above.  However this, too, 
  1198.         leaves a gaping security hole: memory could be searched for it, 
  1199.         and it could be located that way.  A better alternative exists.  
  1200.         In the distribution package for FLUSHOT+ exists a program called 
  1201.         FLU_POKE.COM.  This program allows you to specify the new name 
  1202.         you wish to call the FLUSHOT.DAT file. Simply type:
  1203.  
  1204.              FLU_POKE <flushot_name>
  1205.  
  1206.         where <flushot_name> represents the full path filename of your 
  1207.         copy of FLU_SHOT+.
  1208.  
  1209.         You'll be prompted for the name of the FLUSHOT.DAT file.  Enter 
  1210.         the name you've selected (remember to specify the disk and 
  1211.         directory as part of the name).  Voila!  Nothing could be easier.
  1212.  
  1213.         Here's an example, assuming that you've already named your 
  1214.         FLUSHOT.DAT to FRED.TXT, and it resides in the C:\DOC directory.  
  1215.         Assume that FSP.COM is in the current directory and has been 
  1216.         renamed to MYFILE.COM.  Here's the command line:
  1217.  
  1218.              FLU_POKE MYFILE.COM
  1219.              File opened ok...
  1220.              Enter the FLUSHOT.DAT filename (full pathname): FRED.TXT
  1221.  
  1222.  
  1223.         Protection Recommendations
  1224.         ==========================
  1225.  
  1226.         Here's a sample FLUSHOT.DAT file, basically the same one included 
  1227.         in the archive.  Your actual checksums will differ, and you may 
  1228.         want to modify what files and directories are protected. 
  1229.         Obviously, your exact needs are different than mine, so consider 
  1230.         this a generic FLUSHOT.DAT:
  1231.  
  1232.         P=*.bat
  1233.         P=*.sys
  1234.         P=*.exe
  1235.         P=*.com
  1236.         R=*AUTOEXEC.BAT
  1237.         R=*CONFIG.SYS
  1238.         E=?\dev\*
  1239.         C=C:\COMMAND.COM[12345]-
  1240.         C=C:\IBMBIO.COM[12345]-
  1241.         C=C:\IBMDOS.COM[12345]-
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.                                        18
  1248.  
  1249.  
  1250.  
  1251.         Allowing "dangerous" programs to run
  1252.         ====================================
  1253.         In some cases, though, you'll still want the ability to let 
  1254.         "trusted" programs to run -- even if they are potentially 
  1255.         dangerous.  A good example of this is the DOS FORMAT program:  
  1256.         here is a program specifically designed to overwrite the data on 
  1257.         your disk in such a way that it would be difficult, at best, to 
  1258.         recover.  Yet, the program is a necessary part of your day-to-day 
  1259.         computer usage.
  1260.  
  1261.         Therefore, the 'X=' switch has been added in to allow a program 
  1262.         such as FORMAT to run without interruption.  THIS IS A POTENTIAL 
  1263.         SECURITY HOLE.  To prevent an 'X=' program from being corrupted, 
  1264.         I suggest you also include any 'X=' program as both a 'C=' and a 
  1265.         'P=' program as well: any writes to the file would cause FLU_SHOT 
  1266.         to trigger, and you wouldn't be able to run a modified program 
  1267.         without first giving FLU_SHOT permission.  Use 'X=' sparingly.  
  1268.         I'm rather uncomfortable with it myself.
  1269.  
  1270.  
  1271.         Protecting Your Boot Track
  1272.         ==========================
  1273.         Some of the virus writers out there are getting pretty devious: 
  1274.         they are creating viruses which will replace your "boot record" 
  1275.         with something of their own creation which will first create a 
  1276.         virus upon a system boot, then will run your actual boot program.  
  1277.         The "boot program" is a small program at the beginning of your 
  1278.         disk, telling the system what to do when you first turn the 
  1279.         system on.  What makes these types of viruses particularly 
  1280.         dangerous is that they are run before FLU_SHOT+ can be run:  by 
  1281.         the time FLU_SHOT+ is running, you're already infected!
  1282.  
  1283.         Therefore, you might want to consider using the Boot Checksum 
  1284.         option line in your FLUSHOT.DAT file.  It takes the form of:
  1285.  
  1286.              B=<disk><checksum>
  1287.  
  1288.         where <disk> is a single character (no ':') indicating which disk 
  1289.         drive you boot from, and checksum is the boot checksum.  The boot 
  1290.         checksum is checked each time you exit a program and when you 
  1291.         first invoke FLU_SHOT+.
  1292.  
  1293.         First, create a bogus boot checksum entry, as in:
  1294.  
  1295.              B=C12345
  1296.  
  1297.         then, run FLU_SHOT+.  You'll be advised of what the actual boot 
  1298.         checksum is, and you should edit that checksum into the "B=" 
  1299.         line.
  1300.  
  1301.         That's it!  You're now protected from some virus program somehow 
  1302.         getting around the protections FLU_SHOT+ offers and modifying the 
  1303.         boot record, and you'll be advised if something changed your boot 
  1304.         record while you weren't looking. Never boot off a floppy if you 
  1305.         can avoid it, though:  that's how a lot of viruses spread!
  1306.  
  1307.  
  1308.                                        19
  1309.  
  1310.  
  1311.  
  1312.  
  1313.                                Invoking FLU_SHOT+
  1314.  
  1315.         Running FLUSHOT+
  1316.         ================
  1317.  
  1318.         For extra protection, after you've run FLU_POKE, you should 
  1319.         rename the FLU_SHOT+ program is something unique and meaningful 
  1320.         to you, but not a worm.
  1321.  
  1322.         Assuming you didn't rename it, however, you could invoke the 
  1323.         program simply by typing:
  1324.  
  1325.              FSP
  1326.  
  1327.         when at the prompt.  That's all there is to it.  When you're 
  1328.         satisfied, you can add it to your AUTOEXEC.BAT file, after all of 
  1329.         your trusted programs have run.
  1330.  
  1331.         But there are some options you should know about:
  1332.  
  1333.         Checksumming the in-memory table
  1334.         ================================
  1335.         Since the wily worm may well be able to thwart some of the 
  1336.         efforts of FLU_SHOT+ by playing nasty games with the in-memory 
  1337.         copy of the FLUSHOT.DAT file, FLU_SHOT+ will also check this 
  1338.         table against a checksum it generates on a regular basis.  If the 
  1339.         table gets corrupted, you'll be advised of it.  This table is 
  1340.         checked with each call to DOS, so the table must be in good shape 
  1341.         before any disk I/O is done.
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.                                        20
  1370.  
  1371.  
  1372.  
  1373.         Intercepting Direct Disk Writes Through INT13 and INT40
  1374.         =======================================================
  1375.  
  1376.         The default operation of FLU_SHOT+ is to intercept and examine 
  1377.         every call to the direct disk routines.  You can *disable* this 
  1378.         by including the '-F' switch on your command line:
  1379.  
  1380.              FSP -F
  1381.  
  1382.         This is not recommended, but exists primarily for developers who 
  1383.         can't use the constant triggering one of their programs may 
  1384.         cause.
  1385.  
  1386.  
  1387.         What about INT26
  1388.         ================
  1389.         Similarly, the same exists for the direct writes which normally 
  1390.         are only made by DOS through interrupt 26.  Again, I do not 
  1391.         recommend you disable the checking, but if you desire to do so, 
  1392.         use the '-D' switch.
  1393.  
  1394.         Turning off the header message
  1395.         ==============================
  1396.         If you've no desire to see the rather lengthy welcome message,  
  1397.         displayed when you first use FLU_SHOT+, use the '-h' switch.
  1398.  
  1399.         Disabling Triggering on Open with Write Access
  1400.         ==============================================
  1401.         Files which are opened with write access allowed are often not 
  1402.         ever written to.  For example, a COPY A.COM B.COM will open 
  1403.         *both* files for write access, although DOS will not actually 
  1404.         write to the A.COM file.  Programmer laziness is the most likely 
  1405.         excuse, and I'm as guilty of it as anyone else.  However, this 
  1406.         can cause some false alarms, which can alarm you!  If you specify 
  1407.         the '-W' switch on your command line, you won't have this 
  1408.         particular alert come up.
  1409.  
  1410.         Since the actual write operation to this file is also protected 
  1411.         by FLU_SHOT+, there is no real danger with using the '-W' option 
  1412.         -- except that a "protected" file could be created anew without 
  1413.         you being triggered.  That's not too big a deal.  Future versions 
  1414.         of FLU_SHOT+ will most probably have the '-W' option as the 
  1415.         default operation.
  1416.  
  1417.  
  1418.         Changing the Trigger Window Attributes
  1419.         ======================================
  1420.         Certain displays, particularly monochrome displays which try to 
  1421.         emulate color displays, have a problem with the default selection 
  1422.         of attributed in the trigger window of FLU_SHOT+.  If you use the 
  1423.         '-Axx:yy' switch, you can modify these attributes.
  1424.  
  1425.         The xx:yy represent the hex values (as selected from the table 
  1426.         below) for the interior and the perimeter of the trigger window.  
  1427.         The 'xx' represents the interior attribute, the 'yy', the 
  1428.  
  1429.                                        21
  1430.  
  1431.  
  1432.  
  1433.         perimeter.  If you use the '-A' switch, you *must* select both of 
  1434.         these values - failure to do so may give a rather strange 
  1435.         display.
  1436.  
  1437.         What follows is a table of color and characteristics associated 
  1438.         with the attribute byte.  A byte has eight bits. Counting from 
  1439.         the leftmost bit, the first bit of the attribute byte, if set, 
  1440.         will cause the character to blink, regardless of other settings.  
  1441.         The next three bits represent the background color for a given 
  1442.         character position.  The next bit indicates whether a character 
  1443.         should have high intensity turned on.  Finally, the last three 
  1444.         bits represent the color of the character itself.  To create the 
  1445.         color of your choice, simply combine the bits, then calculate 
  1446.         what they are in hexadecimal.  If you're not sure of how to 
  1447.         create a hexadecimal representation of a binary number, have no 
  1448.         fear:  that information follows, too.
  1449.  
  1450.                                     Bkgrnd    Frgrnd
  1451.                                  B   CLR   I   CLR
  1452.                                  [] [][][] [] [][][]
  1453.                     Brightness----^  | | |  |  | | |
  1454.                     Background-------+-+-+  |  | | |
  1455.                     Intensity---------------+  | | |
  1456.                     Foreground-----------------+-+-+
  1457.  
  1458.                                               Value in hex
  1459.         Bit Pattern    Value      Color       if B or I set 
  1460.         ====================================================
  1461.           0  0  0      0         Black            8
  1462.           0  0  1      1         Blue             9
  1463.           0  1  0      2         Green            a
  1464.           0  1  1      3         Cyan             b
  1465.           1  0  0      4         Red              c
  1466.           1  0  1      5         Magenta          d
  1467.           1  1  0      6         Yellow           e
  1468.           1  1  1      7         White            f
  1469.  
  1470.         For example, to create an attribute byte that is high intensity, 
  1471.         blinking yellow characters on a green background, the attribute 
  1472.         byte would be:
  1473.  
  1474.                                     Bkgrnd    Frgrnd
  1475.                                  B   CLR   I   CLR
  1476.                                  1  0 1 0  1  1 1 0
  1477.                                 \--------/ \-------/
  1478.                                     |          |
  1479.                                     A          E
  1480.                     Attribute char:     AE
  1481.  
  1482.         IMPORTANT: If the value is less than 10 (hex), you *must* include 
  1483.         a leading zero or strange things will happen to the selected 
  1484.         value.
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.                                        22
  1491.  
  1492.  
  1493.  
  1494.  
  1495.         Allowing Trusted TSR's to Work
  1496.         ==============================
  1497.         Normally, you'd load all of your trusted TSR's before FLUSHOT+ is 
  1498.         loaded from within your AUTOEXEC.BAT file.  However, you might 
  1499.         want to use SideKick once in a while, removing it from memory as 
  1500.         you desire.  This could cause some problems, since SideKick, and 
  1501.         programs like it, take over certain interrupts, and FLU_SHOT+ 
  1502.         could get confused about whether this is a valid call or a call 
  1503.         that shouldn't be allowed.  Normally, FLU_SHOT+ will trigger on 
  1504.         these calls, which is safer, but can be annoying.  If you use the 
  1505.         special '-T' switch upon program invocation, then calls which 
  1506.         trusted TSR's (those specified with the 'T=' command in your 
  1507.         FLUSHOT.DAT file) make will be allowed.  Understand, please, that 
  1508.         this basically means that calls made by a Trojan while a trusted 
  1509.         TSR is loaded may not be caught.  Please, use this switch with 
  1510.         caution!
  1511.  
  1512.         Disabling FLU_SHOT+
  1513.         ===================
  1514.         There may be times when you're about to do some work which you 
  1515.         know will trigger FLU_SHOT+.  And you might not want to be 
  1516.         bothered with all of the triggering, the pop-up windows and your 
  1517.         need to respond to each trigger.  If you look in the upper right 
  1518.         hand corner of your screen, you'll see a '+' sign.  This 
  1519.         indicates that FLU_SHOT+ is monitoring and attempting to protect 
  1520.         your system.  Depress the ALT key three times.  Notice that the 
  1521.         '+' sign' turned into a '-'?  Well, FLU_SHOT+ is now disabled, 
  1522.         and will not trigger on any event.  If you depress the ALT key 
  1523.         three more times, you'll see the '-' turn back into a '+' -- each 
  1524.         time you depress the ALT key three times, FLU_SHOT+ will toggle 
  1525.         between being enabled and disabled. 
  1526.  
  1527.         Disabling the Disabling of FLU_SHOT+
  1528.         ====================================
  1529.         Yes, I know about the poor grammar used in the heading, but I 
  1530.         couldn't think of a better way of expressing it.
  1531.  
  1532.         You can cause FLU_SHOT+ to ignore the "strike ALT three times" 
  1533.         function discussed above.  If you'd rather that the people using 
  1534.         the machine FLU_SHOT is working on *not* be able to disable it, 
  1535.         then enter the '--' switch on the command line, as in:
  1536.  
  1537.               FSP --
  1538.  
  1539.         this is important when used in combination with the '!' 
  1540.         restricted file access option you may have opted to use in your 
  1541.         FLUSHOT.DAT file.
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.                                        23
  1552.  
  1553.  
  1554.  
  1555.         Disabling FLU_SHOT+ Toggle Display
  1556.         ==================================
  1557.         Alas, there are graphics applications which will be screwed up be 
  1558.         the '-' or '+' in the upper right hand corner of your display. 
  1559.         Therefore, if you depress the CTRL key three times, you'll be 
  1560.         able to toggle the display capability of FLU_SHOT+.  The default 
  1561.         configuration of FLU_SHOT+ is to "come up" with display turned 
  1562.         on.  You can reverse this capability if you include the '-G' (for 
  1563.         graphics) switch on your command line when you run FLU_SHOT+.
  1564.  
  1565.         When you toggle this function, the '-' or the '+' won't appear or 
  1566.         disappear immediately.  Simply that the repainting of them will 
  1567.         no longer take place.
  1568.  
  1569.         Defining Your Own "Special Keys"
  1570.         ================================
  1571.         If you would like to, you can define your own "special keys" (as 
  1572.         in the default Alt and Ctrl keys in a similar way as you define 
  1573.         your attributes above.  Use the '-Kxx:yy' option, which takes the 
  1574.         hexadecimal scan code value for the replacement Alt key as the 
  1575.         first argument (the 'xx') and the hexadecimal scan code value for 
  1576.         the replacement Ctrl key value.  If you're not sure of what your 
  1577.         scan codes are, you should look them up in your BIOS tech ref 
  1578.         manual -- or there are a multitude of programs which will print 
  1579.         out the scan code for a given key. Most of these programs are 
  1580.         available on BBS's throughout the world, including the Software 
  1581.         Concepts Design, RamNet BBS at (212)-889-6438.
  1582.  
  1583.         Due to extreme programmer fatigue, the "Welcome" message you see 
  1584.         when you first run FLU_SHOT+ with the '-K' option will not change 
  1585.         to reflect your selection.  Maybe in the next version.  And, of 
  1586.         course, it depends upon how much you, the end-user want such an 
  1587.         option.
  1588.  
  1589.         IMPORTANT: If the value is less than 10 (hex), you *must* include 
  1590.         a leading zero or strange things will happen to the selected 
  1591.         value.
  1592.  
  1593.         Forcing FLU_SHOT+ to only use the BIOS
  1594.         ======================================
  1595.  
  1596.         Certain machines are not totally compatible with the IBM BIOS, 
  1597.         which is the BIOS for which FLU_SHOT+ was written.  Because 
  1598.         FLU_SHOT has to be able to deal with the hardware in a pretty 
  1599.         direct manner in order to "pop-up" a screen, these machines were 
  1600.         not able to use FLU_SHOT.  If you specify the '-B' switch in your 
  1601.         command line when you first run FLU_SHOT+, then only the BIOS 
  1602.         will be used for screen output.  This is *drastically* slower 
  1603.         than direct screen memory writes (the method used unless you 
  1604.         specify to use the BIOS), but at least it works.  However, the 
  1605.         "hit ALT and/or CTRL three times" options may not work in these 
  1606.         machines - only your experimentation will tell.
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.                                        24
  1613.  
  1614.  
  1615.  
  1616.         Putting FLU_SHOT+ to Sleep When Its First Run
  1617.         ==============================================
  1618.         One of the idiosyncrasies of DOS is how a batch file is 
  1619.         processed.  Basically, DOS opens the batch file, reads the next 
  1620.         command, closes the batch file, executes the command, and then 
  1621.         starts over again until the batch file is exhausted of commands.
  1622.  
  1623.         This would, normally, not be a problem, but can become when you 
  1624.         opt to place the FLU_SHOT command line in your AUTOEXEC.BAT file 
  1625.         *and* you've opted to Read Protect (with the 'R=' option) the 
  1626.         AUTOEXEC file itself:  you'll be advised that some program is 
  1627.         reading this protected file.  Not a big deal, really, but 
  1628.         certainly a hassle when you fist boot up your system.  Therefore, 
  1629.         protections within FLU_SHOT are not turned on a certain amount of 
  1630.         time.  The default is set to ten seconds, or until you enter a 
  1631.         key.  You can modify the default "sleep" time by entering a '-Sn' 
  1632.         option on the command line, where 'n' represents the number of 
  1633.         eighteenths of a second (1/18) you wish to have FLU_SHOT+ sleep 
  1634.         before becoming active.  Since you will most likely have 
  1635.         FLU_SHOT+ as one of the final commands in your AUTOEXEC.BAT, you 
  1636.         probably won't have to modify this parameter, but the capability 
  1637.         exists, nonetheless.
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.                                        25
  1674.  
  1675.  
  1676.  
  1677.         Interpreting a FLU_SHOT+ Trigger
  1678.         ================================
  1679.  
  1680.         So, you've run FLU_SHOT+, and you're at your C> prompt. Great!  
  1681.         Now stick a blank disk which you don't care about into your A: 
  1682.         drive and try to format it.
  1683.  
  1684.         Surprise!  FLU_SHOT+ caught the attempt!  You have three choices 
  1685.         now:  typing 'Y' allows the operation to continue, but the next 
  1686.         one will be caught as well.  Typing a 'G' (for Go!) allows the 
  1687.         operation to continue, disabling FLU_SHOT+ until an exit from the 
  1688.         program is made. When FLU_SHOT+ is in the 'G' state, a 'G' will 
  1689.         appear in the upper right hand corner of your screen.
  1690.  
  1691.         Any other key will cause a failure of the operation to occur.
  1692.  
  1693.         When you've got FLU_SHOT+ running and you get signaled that there 
  1694.         is a problem, you should think about what might have caused the 
  1695.         problem.  Some programs, like FORMAT, or the Norton Utilities or 
  1696.         PC-Tools, or DREP have very good reasons for doing direct reads 
  1697.         and writes to your hard disk.  However, a public domain checkbook 
  1698.         accounting program doesn't.  You'll have to be the judge of what 
  1699.         are legitimate operations and which are questionable.
  1700.  
  1701.         There is no reason to write to IBMBIO or IBMDOS, right? 
  1702.  
  1703.         Wrong!
  1704.  
  1705.         When you format a disk with the '/S' option, those files are 
  1706.         created on the target diskette.  The act of creating, opening up 
  1707.         and writing those files will trigger FLU_SHOT+ as part of its 
  1708.         expected operation. There are many other legitimate operations 
  1709.         which may cause FLU_SHOT+ to trigger.
  1710.  
  1711.         So will copying a COM or EXE file if you have those protected 
  1712.         with a 'P=' command.  FLU_SHOT+ is not particularly intelligent 
  1713.         about what is allowed and what isn't.  That's where you, the 
  1714.         pilot, get to decide.
  1715.  
  1716.         Here's a fuller listing of the messages which you might see when 
  1717.         you're using FLU_SHOT+:
  1718.  
  1719.  
  1720.         Checking ===><filename>
  1721.  
  1722.         This message is displayed as FLU_SHOT+ checks the checksum on all 
  1723.         of the "C=" files when you first invoke FLU_SHOT+.  The files 
  1724.         must be read in from disk, their checksum calculated and then 
  1725.         compared against the value you claim the checksum should equal.
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.                                        26
  1735.  
  1736.  
  1737.  
  1738.         If the checksum does *not* equal what you claim it should (which 
  1739.         means that the file may have been written to and might therefore 
  1740.         be suspect), a window will pop up in the middle of your screen:
  1741.  
  1742.         +===============================================================+
  1743.         |  Bad Checksum on <filename>                                   |
  1744.         |  Actual Checksum is: <checksum>                               |
  1745.         |Press "Y" to allow, "G" to go till exit, any other key to exit.|
  1746.         +===============================================================+
  1747.  
  1748.         This message simultaneously advises you there is a problem with 
  1749.         the checksums not matching, shows you what the checksum should be 
  1750.         and then awaits your response.
  1751.  
  1752.         Except for the initial run of FLU_SHOT+, if you type a 'Y' or a 
  1753.         'G', then the program will load and execute.  Typing any other 
  1754.         key will cause the program to abort and for you to be returned to 
  1755.         the C> prompt.  When FLU_SHOT+ is in the 'G' state, a 'G' will 
  1756.         appear in the upper right hand corner of your screen.
  1757.  
  1758.         If this is the initial run of FLU_SHOT+, however, you'll be 
  1759.         advised of the program's actual checksum, but FLU_SHOT+ will 
  1760.         continue to run, checking all remaining "C=" files in the 
  1761.         FLUSHOT.DAT file.
  1762.  
  1763.  
  1764.  
  1765.         If you're running a program and you see a screen like:
  1766.  
  1767.         +===============================================================+
  1768.         |  ? WARNING! TSR Request from an unregistered program!         |
  1769.         |Number of paragraphs of memory requested (in decimal) are:<cnt>|   
  1770.         |                   (Press any key to continue)                 |
  1771.         +===============================================================+
  1772.  
  1773.         you're being advised that a program is about to go TSR.  If this 
  1774.         is a program you trust (such as SideKick, of KBHIT, or a host of 
  1775.         other TSR programs you've grown to know and love), then you 
  1776.         should considering installing a "T=" line in the FLUSHOT.DAT file 
  1777.         so that future runs of this program will not trigger FLU_SHOT+.
  1778.  
  1779.         However, if you get this message when running a program you don't 
  1780.         think has any need to go TSR (such as the proverbial checkbook 
  1781.         balancing program), you should be a little suspicious.  Having a 
  1782.         TSR program is not, in of and of itself, something to be 
  1783.         suspicious of.   But having one you don't expect --- well, that's 
  1784.         a different story.
  1785.  
  1786.         Most TSR's "hook into" an interrupt vector before they go TSR.  
  1787.         These hooks might intercept and process key strokes ("hotkeys"), 
  1788.         or they might hook and intercept direct disk writes themselves.  
  1789.         In any event, FLU_SHOT+ (in this version!) doesn't have the 
  1790.         smarts to do more than advise you of the TSR'ing of the program.  
  1791.         If you're truly suspicious, reboot your machine immediately!
  1792.  
  1793.  
  1794.                                        27
  1795.  
  1796.  
  1797.  
  1798.         If a program attempts to write directly to the interrupts which 
  1799.         are reserved for disk writes, FLU_SHOT+ will also be triggered 
  1800.         and you'll see something like:
  1801.  
  1802.         +===============================================================+
  1803.         |====>Direct Disk Write attempt by program other than DOS! <====|
  1804.         | Interrupt xx=> Drive: x Head: y Track: zzzzz Sector: zzzzz    |
  1805.         |  By:  <program>                                               |
  1806.         |Press "Y" to allow, "G" to go till exit, any other key to fail.|
  1807.         +===============================================================+
  1808.  
  1809.         where the <xx> represents either a 13 or 40 (indicating a direct 
  1810.         BIOS write to the disk) or a 26 (indicating a direct DOS write).  
  1811.         Again, pressing a 'Y' or a 'G' allows the operation to continue, 
  1812.         pressing any other key will cause the operation to return a 
  1813.         failed status to DOS, and the operation will not take place. When 
  1814.         FLU_SHOT+ is in the 'G' state, a 'G' will appear in the upper 
  1815.         right hand corner of your screen.  FLU_SHOT+ will attempt to let 
  1816.         you know what program is actually attempting the write as well: 
  1817.         this is not always reliable, though, so don't count on it as more 
  1818.         than a hint.
  1819.  
  1820.         Additionally, for the folks interested in the real techno-babble, 
  1821.         FLU_SHOT+ will also let you know what drive, head, track and 
  1822.         sector is the target of the supposed "illegal" access.
  1823.  
  1824.         If an attempt is made to format your disk, which may be a 
  1825.         legitimate operation made by the DOS FORMAT program, you'll see a 
  1826.         message such as:
  1827.  
  1828.         +===============================================================+
  1829.         |          ====>Disk being formatted! Are You Sure?<====        |
  1830.         | Interrupt xx=> Drive: x Head: y Track: zzzzz Sector: zzzzz    |
  1831.         |  By:  <program>                                               |
  1832.         |Press "Y" to allow, "G" to go till exit, any other key to fail.|
  1833.         +===============================================================+
  1834.  
  1835.         which follows similarly to the direct disk write operations. You 
  1836.         should question whether the format operation is appropriate at 
  1837.         the time and take whatever action you think is best.
  1838.  
  1839.         If one of your protected files is about to be written to, you'll 
  1840.         see a message like:
  1841.  
  1842.         +===============================================================+
  1843.         |Write access being attempted on:                               |
  1844.         | <filename>                                                    |
  1845.         |  By:  <program>                                               |
  1846.         |Press "Y" to allow, "G" to go till exit, any other key to fail.|
  1847.         +===============================================================+
  1848.  
  1849.         where <filename> represents the file you're trying to protect 
  1850.         from these write operations.  Your red flag should fly, and you 
  1851.         should question why the program currently running should cause 
  1852.         such an operation. 
  1853.  
  1854.  
  1855.                                        28
  1856.  
  1857.  
  1858.  
  1859.         You may also see the same type of message when one of your "Read-
  1860.         Protected" files is being accessed:
  1861.  
  1862.         +===============================================================+
  1863.         |Read Access being attempted on:                                |
  1864.         | <filename>                                                    |
  1865.         |  By:  <program>                                               |
  1866.         |Press "Y" to allow, "G" to go till exit, any other key to fail.|
  1867.         +===============================================================+
  1868.  
  1869.         Again, the same red flag should fly, but it doesn't mean that 
  1870.         you're infected with some nasty virus program!  It could be 
  1871.         something harmless or intended.  You'll have to be the judge.
  1872.  
  1873.         +===============================================================+
  1874.         |Open File with Write access being attempted on:                |
  1875.         | <filename>                                                    |
  1876.         |  By:  <program>                                               |
  1877.         |Press "Y" to allow, "G" to go till exit, any other key to fail.|
  1878.         +===============================================================+
  1879.  
  1880.         If you see the above message:  Don't Panic!  When a program opens 
  1881.         a file, it may open the file for different types of access.  One 
  1882.         access method prohibits writing to the file.  Another allows you 
  1883.         to write to the file.  However, lazy programmers (myself included 
  1884.         in this category from time to time) will often open a file for 
  1885.         read *and* write access, even though they have no intention of 
  1886.         ever doing a write into the file.  FLU_SHOT+ isn't smart enough 
  1887.         to be able to figure out what a program *might* do in the future, 
  1888.         so it will alert you to an attempt to open the indicated 
  1889.         protected file with write access allowed.  Again, you'll have to 
  1890.         consider whether the program opening the file is a "trusted" 
  1891.         program or not and you'll have to then decide what action to 
  1892.         take.
  1893.  
  1894.         +===============================================================+
  1895.         |Handle Write Access being attempted on:                        |
  1896.         | <filename>                                                    |
  1897.         |  By:  <program>                                               |
  1898.         |Press "Y" to allow, "G" to go till exit, any other key to fail.|
  1899.         +===============================================================+
  1900.  
  1901.         If you see this message, it means that some program is trying to 
  1902.         write to a protected file through an access method known as 
  1903.         "handle access".  This should normally never happen, with the 
  1904.         caveats raised above in the "Open With Write Access" section.
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.                                        29
  1917.  
  1918.  
  1919.  
  1920.         There are three separate messages you'll see if a program 
  1921.         attempts to rename a protected file (you'll only see one of these 
  1922.         messages at a time, though):
  1923.  
  1924.  
  1925.         +===============================================================+
  1926.         |FCB Rename being attempted on source file:                     | 
  1927.         |FCB Rename being attempted on target file:                     |
  1928.         |Handle Rename being attempted on:                              |
  1929.         | <filename>                                                    |
  1930.         |  By:  <program>                                               |
  1931.         |Press "Y" to allow, "G" to go till exit, any other key to fail.|
  1932.         +===============================================================+
  1933.  
  1934.         This indicates what type of operation is attempting to rename a 
  1935.         protected file.  FCB's are a relic of the older CP/M days, and 
  1936.         "handles" are a newer concept, a little more modern.  In any 
  1937.         event, this tells you that a file is being renamed.  It is 
  1938.         possible that a trojan or virus writer will attempt to rename an 
  1939.         existing protected file to some other name, then rename a 
  1940.         trojaned or virused program in its stead.  FLU_SHOT will alert 
  1941.         you to this action:  again, though, you'll have to decide what to 
  1942.         do about it.
  1943.  
  1944.         +===============================================================+
  1945.         |Delete being attempted on:                                     |
  1946.         | <filename>                                                    |
  1947.         |  By:  <program>                                               |
  1948.         |Press "Y" to allow, "G" to go till exit, any other key to fail.|
  1949.         +===============================================================+
  1950.  
  1951.         Pretty much self-evident as to what's happening here, there are 
  1952.         very few reasons why one of the files you've opted to protect 
  1953.         should be deleted.
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.                                        30
  1978.  
  1979.  
  1980.  
  1981.                           How Good is FLUSHOT+, Really?
  1982.  
  1983.         FLU_SHOT+ is a pretty handy piece of code.  But, it can't 
  1984.         absolutely protect you from a worm.  No software can do that.  
  1985.         There are ways around FLU_SHOT+.  I'm of two minds about 
  1986.         discussing them, since the worms out there are reading this, too.  
  1987.         So I'll only discuss them in passing.  And I'll tell you what I 
  1988.         use here to protect myself from worms.  First, though, a little 
  1989.         story to tell you what it's like here, and how I protect myself 
  1990.         from getting wormed.
  1991.  
  1992.         The RamNet Bulletin Board System site I run is open access. No 
  1993.         need to register, or to leave your phone number or address, 
  1994.         although a note to that effect is always appreciated.  As 
  1995.         mentioned above, I dare the worm to try to affect the disk of 
  1996.         somebody who can fight back.  A couple of of worms have tried and 
  1997.         I have a nice collection of Trojans and viruses.  Obviously, I 
  1998.         run FLU_SHOT+ on my board, along with checking incoming files 
  1999.         with CHK4BOMB.  My procedure for testing out newly uploaded code 
  2000.         involves me doing a backup, installing all sorts of software to 
  2001.         monitor what is going on, and doing a checksum on all files on 
  2002.         the disk.  I then try out all of the code I get, primarily to 
  2003.         determine if the code is of high enough quality to be posted.  
  2004.         After testing out all of the weeks uploads, I run the checksum 
  2005.         program again to determine of any of my files might have been 
  2006.         modified by a worm's virus program.
  2007.  
  2008.         Recently, what looked like a decent little directory lister was 
  2009.         posted to the board.  For some reason I've yet to fathom, 
  2010.         directory aid programs seem to be the ones which have the highest 
  2011.         percentage of Trojans attached to them.
  2012.  
  2013.         This directory aid program listed my directories in a wonderful 
  2014.         tree structure, using different colors for different types of 
  2015.         files.  Nice program.  When it exited, however, it went out and 
  2016.         looked for a directory with the word "FLU" in it.  Once it found 
  2017.         a directory with a match in it, it proceeded to try to erase all 
  2018.         of the files in that directory. An assault! No big deal.  That's 
  2019.         what backups are for.
  2020.  
  2021.         But it brings up an interesting point:  I was attacked by a 
  2022.         clever worm, and it erased a bunch of files which were pretty 
  2023.         valuable.  All of the protection I had would have been for naught 
  2024.         if I didn't use the first line of defense from these worms:  full 
  2025.         and adequate backup.
  2026.  
  2027.         I've spent three years of my life developing one particular 
  2028.         software package.  Imagine what would have happened if that had 
  2029.         been erased by a worm!  Fortunately, I make backups at least once 
  2030.         a day, and usually more frequently than that.  You should, too.
  2031.  
  2032.         Now, I quarantine that machine as well.  I spent a couple of 
  2033.         dollars and bought a bunch of bright red floppy disks.  The basic 
  2034.         rule around here is that Red Disks are the only disks that go 
  2035.         into the BBS machine, and the Red Disks go into no other machine.  
  2036.  
  2037.                                        31
  2038.  
  2039.  
  2040.  
  2041.         You see, I *know* that there is some worm out there who is gonna 
  2042.         find some way to infect my system.  No matter what software 
  2043.         protection I use, there *is* a way around it.
  2044.  
  2045.         You needn't be concerned though -- you're making backups on a 
  2046.         regular basis, right?  And, you aren't asking for trouble.  I am, 
  2047.         I expect to find it, and it is sort of amusing to see what the 
  2048.         worms out there are wasting their efforts on.
  2049.  
  2050.         At this point, Trojans and Viruses are becoming a hobby with me: 
  2051.         watching what the worms try to do, figuring out a way to defend 
  2052.         against it, and then updating the FLU_SHOT series.
  2053.  
  2054.         However, there is a possibility that the FLU_SHOT series (as well 
  2055.         as other protection programs which are just as valuable) are 
  2056.         causing an escalation of the terms of this war.  The worms out 
  2057.         there are sick individuals.  They must enjoy causing the damage 
  2058.         they do.  But they haven't the guts to stand up and actually do 
  2059.         something in person.  They prefer to hide behind a mist of 
  2060.         anonymity.
  2061.  
  2062.         But you have the ultimate defense!  No, not the FLU_SHOT+ 
  2063.         program.
  2064.  
  2065.         FULL AND ADEQUATE BACKUPS!
  2066.  
  2067.         There are a variety of very good backup programs which can save 
  2068.         you more work than you can imagine.  I use the FASTBACK+ program, 
  2069.         which is a great little program.  I backup 30Megs once in a 
  2070.         while, and do an incremental backup on a very frequent basis.  
  2071.         There are a variety of very good commercial, public domain, and 
  2072.         shareware backup programs out there.  Use them!  Because, no 
  2073.         matter what software protection you use, somebody will find a way 
  2074.         around it once day.  But they can't find a way around your 
  2075.         backups.  And, if you (and everyone else) do regular backups, 
  2076.         you'll remove the only joy in life these worms have.  They'll 
  2077.         kill themselves, hopefully, and an entire subspecies will be 
  2078.         wiped out -- and you'll be partially responsible!
  2079.  
  2080.         My advance thanks for helping to exterminate these little 
  2081.         slimebuckets.  But that brings me to something else.
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.                                        32
  2099.  
  2100.  
  2101.  
  2102.                                  Reward Offered
  2103.  
  2104.         Somebody out there knows who the worms are.  Even they must have 
  2105.         someone who is a friend. True, I can't think of any reason 
  2106.         someone would befriend a worm.  But somebody who doesn't know 
  2107.         better has.
  2108.  
  2109.         Well, I'm offering a reward for the capture and conviction of 
  2110.         these worms.
  2111.  
  2112.         Enough already with software protection schemes, hardware 
  2113.         protection schemes, or any protection at all.  It shouldn't be 
  2114.         required, dammit!
  2115.  
  2116.         Here's the deal:
  2117.  
  2118.         In this archive is a form called REWARD.FRM.  If you're a 
  2119.         software or hardware manufacturer, or you have some software or 
  2120.         hardware you don't need, consider filling out that form, and 
  2121.         donating it to a worthy cause.  I don't know what the legal and 
  2122.         tax ramifications of that donation would be.  I'm not a lawyer 
  2123.         and we can cross that bridge when we get to it.
  2124.  
  2125.         Anyway, if you know one of these worms, turn them in!  Call me 
  2126.         up, send me a letter, a telegram, or leave a message for me on my 
  2127.         BBS.  Indicate who you *know* is worming about.  I'll keep your 
  2128.         name confidential.
  2129.  
  2130.         It is surprisingly easy to get the authorities in on this -- 
  2131.         they're as concerned about what is happening to our community as 
  2132.         we are.  I'll presume that they'll end up putting a data tap on 
  2133.         the phone line of the accused worm.  Then, when he next uploads a 
  2134.         Trojan or a virus to a BBS, he'll get nailed.  The authorities 
  2135.         are pretty good about this stuff: they'll not tap a phone or take 
  2136.         any action whatsoever without adequate proof.  Will your dropping 
  2137.         a dime on this worm be adequate proof?  I don't know.   Again, a 
  2138.         bridge to cross when we approach it.
  2139.  
  2140.         However, assuming that this slimeball gets nailed, you'll get all 
  2141.         of the software and hardware which other people have donated. And 
  2142.         the satisfaction of knowing that you've done a Good Thing, that 
  2143.         you've helped an industry and community continue to grow.  This 
  2144.         *is* your community, and the vast majority of people in it are 
  2145.         good people who shouldn't have to fear from your friend.  Your 
  2146.         friend is not really a friend: he uses you to justify his own 
  2147.         existence.  When someone uses you like that, they're not a 
  2148.         friend, they're a leach.  And you've probably got better things 
  2149.         to do then let somebody use you like that.
  2150.  
  2151.         Most importantly, the worm out there won't know if one of his 
  2152.         friends has already turned him in.  So he won't know if his phone 
  2153.         is tapped.  If *I* were a worm, and considering what kind of 
  2154.         friends I would have, I'd be sure that somebody dropped a dime on 
  2155.         me.  And therefore an intelligent worm (perhaps I'm giving the 
  2156.         worm too much credit?) must presume that their line is tapped and 
  2157.  
  2158.                                        33
  2159.  
  2160.  
  2161.  
  2162.         that they're gonna go to jail if they continue what they're 
  2163.         doing.
  2164.  
  2165.         So just stop, you miserable little lowlife, huh?  You're going to 
  2166.         be arrested. You're going to have to put up with indignities 
  2167.         which even you don't deserve!  Your equipment will be 
  2168.         confiscated.  You'll never get a job in the industry.  You're 
  2169.         going to go to jail.  
  2170.  
  2171.         All because one of your friend's actually has a conscience and 
  2172.         knows what is right and what is wrong.  And what you're doing is 
  2173.         wrong.
  2174.  
  2175.         So, let me get back to the kind of programming I enjoy -- 
  2176.         productive programming.  And turn your programming to useful, 
  2177.         interesting, and productive programming.  You have the talent to 
  2178.         do something useful and good with your life.  What you're doing 
  2179.         is hurting the industry and hurting the community which would 
  2180.         welcome someone with your talents with open arms.
  2181.  
  2182.         And the satisfaction of helping far surpasses the satisfaction 
  2183.         you must get from hurting innocent people.
  2184.  
  2185.         So just stop. 
  2186.  
  2187.  
  2188.         Sincerely, Ross M. Greenberg
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.                                        34
  2220.  
  2221.  
  2222.  
  2223.                 APPENDIX  A: Common Questions and Their Answers:
  2224.  
  2225.         Q:  Why does FLU_SHOT+ not work with programs that use graphics 
  2226.             capabilities, such as Microsoft EXCEL?
  2227.  
  2228.         A:  FLU_SHOT+ is a TSR program, and uses up memory on your 
  2229.             computer even when there is no suspicious action taking 
  2230.             place.  When such an action occurs, the current screen must 
  2231.             be saved to bring up the trigger window.  In graphics mode, 
  2232.             this requires a great deal of memory to be set aside, and so 
  2233.             we considered it not worth the loss of memory
  2234.  
  2235.         Q:  So, then, what can I do if I use such graphics programs?
  2236.  
  2237.         A:  Try using the '-B' switch.  You might lose a portion of your 
  2238.             screen, but you'll be able to see what is causing the trigger 
  2239.             to occur.
  2240.  
  2241.         Q:  Certain programs lock up when FLU_SHOT+ triggers -- I have to 
  2242.             reboot the system.  What can I do?
  2243.  
  2244.         A:  Try resetting the Action Keys (with the -Kxx:yy option).  
  2245.             Chances are that your program is taking over the keyboard and 
  2246.             not passing keys over to FLU_SHOT+.  You'll have to 
  2247.             experiment around with keys until you find a set that works.
  2248.  
  2249.         Q:  Certain programs, like WORDPERFECT, use temporary work files, 
  2250.             and then delete them with a call that triggers FLU_SHOT+.  
  2251.             What can I do?
  2252.  
  2253.         A:  Try excluding the class of files causing the trigger with the 
  2254.             'E=' option in your FLUSHOT.DAT file.  Look for the pattern 
  2255.             of the target filenames in the trigger window, and then 
  2256.             install a line into FLUSHOT.DAT that corresponds to it.  Or, 
  2257.             you could exclude that particular directory if you wish.
  2258.  
  2259.         Q:  Every time I run a program like "PRINT", I get a lot of Direct 
  2260.             Disk Access messages from FLU_SHOT+.  Does this mean that 
  2261.             PRINT (for example) is infected with a virus?
  2262.  
  2263.         A:  Not at all! PRINT is a TSR, which means that a portion of it 
  2264.             stays around after you get back your C:> prompt.  Part of 
  2265.             that TSR takes over the Direct Disk Access Interrupts.  
  2266.             Therefore, whenever even a legitimate program makes a call to 
  2267.             do a legitimate disk operation, it appears to come from some 
  2268.             program other than the DOS operating system.  Try putting 
  2269.             your PRINT (or other trusted TSR) command before the call to 
  2270.             FLU_SHOT+ in your AUTOEXEC.BAT file.  This should solve the 
  2271.             problem.
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.                                        35
  2281.  
  2282.  
  2283.  
  2284.         Q:  Will FLU_SHOT+ tell me if I have a virus on my disk and will 
  2285.             it remove a virus if found?
  2286.  
  2287.         A:  Nope. FLU_SHOT+ will check that files are what they appear to 
  2288.             be when you run them, if you wish.  And, it will interrupt 
  2289.             the type of suspicious activity associated with a virus 
  2290.             attack.  At that point, you have to consider whether or not 
  2291.             the program you're running is a virus or not, and take 
  2292.             appropriate action if it is.
  2293.  
  2294.         Q:  What kind of appropriate action?
  2295.  
  2296.         A:  First thing to do would be to load a new copy of that program 
  2297.             from your original distribution disk.  Try using the program 
  2298.             again.  If the trigger window pops up, then chances are the 
  2299.             program is violating one of the rules in your FLUSHOT.DAT 
  2300.             file, but isn't a virus.  Change your FLUSHOT.DAT to reflect 
  2301.             whatever exceptions are needed to cause this program to no 
  2302.             longer trigger.
  2303.  
  2304.         Q:  What precautions should I take when reloading a program from 
  2305.             my original distribution disks?
  2306.  
  2307.         A:  You should power off your computer for about ten seconds. 
  2308.             Reboot with a clean, write-protected copy (stick a piece of 
  2309.             black tape over the write enable notch on the disk) in your 
  2310.             A: drive.  Then, do a "SYS" onto your hard disk to play it 
  2311.             safe (see the DOS manuals for an explanation of what SYS does 
  2312.             and how to use it), then reinstall your software.
  2313.  
  2314.         Q:  I see a lot of copies of FLU_SHOT+ on the Bulletin Board 
  2315.             Systems I use.  Are they the same as this version?
  2316.  
  2317.         A:  You'll have to check the version number to make sure -- but 
  2318.             there's no guarantee that the version you see out on a BBS is 
  2319.             going to be a clean copy of FLU_SHOT+ (unless you get it from 
  2320.             one of the BBS's the author uploaded it to himself).  The 
  2321.             commercial releases have an installation program to aid you 
  2322.             your installing FLU_SHOT+ and have a printed manual.
  2323.  
  2324.         Q:  May I distribute this copy of the program onto BBS systems?
  2325.  
  2326.         A:  You may only distribute the .ARC file on the Distribution 
  2327.             Disk to BBS systems.  Without any changes.  If you distribute 
  2328.             any other files from that disk, you will be in violation of 
  2329.             copyright law -- and that's a federal offense!
  2330.  
  2331.         Q:  If I get a virus, what should I do with the infected program?
  2332.  
  2333.         A:  If you like, make a copy of the infected program and send it 
  2334.             to us so we can examine it and determine, if possible, who 
  2335.             might have released it and have them prosecuted.  Otherwise, 
  2336.             simply delete the infected program - a deleted virus can hurt 
  2337.             no one.
  2338.  
  2339.  
  2340.                                        36
  2341.  
  2342.  
  2343.  
  2344.         Q:  I'm interested in seeing what a virus is.  Can you send me 
  2345.             one?
  2346.  
  2347.         A:  Sorry, we can't do that.  Aside from the ethics of releasing 
  2348.             a virus to an unknown person (even if a customer!), there are 
  2349.             now some laws on the books making distribution of a virus a 
  2350.             federal offense.
  2351.  
  2352.         Q:  I ran out of space in my FLUSHOT.DAT file.  Can I expand it 
  2353.             out at all?
  2354.  
  2355.         A:  Nope.  It's of a fixed size in this release of FLU_SHOT+.  
  2356.             There's a big brother of FLU_SHOT+, called FLU_SHOT++, which 
  2357.             provides for an unlimited size for your Protections File.  
  2358.             Send in the card for more information on  FLU_SHOT++ and the 
  2359.             additional protections it affords.
  2360.  
  2361.         Q:  Will FLU_SHOT+ stop every virus out there?
  2362.  
  2363.         A:  No. No software product can stop every virus attack, since 
  2364.             there are a variety of ways a virus can attack your system 
  2365.             and get around FLU_SHOT+'s protection mechanisms.  However, 
  2366.             no virus can infect a program and not change the checksum of 
  2367.             the program.  Therefore, use the C= option in your 
  2368.             FLUSHOT.DAT Protections File on all the programs you run.  
  2369.             That way, you'll know if the program you're running has 
  2370.             become infected since the last time you ran it.
  2371.  
  2372.  
  2373.         Q:  ????
  2374.  
  2375.         A:  42
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.                                        37
  2402.  
  2403.  
  2404.  
  2405.                        APPENDIX B: How Does A Virus Work?
  2406.  
  2407.         A computer virus is actually a very simple program to write.  
  2408.         First, a little bit of terminology can help understand what they 
  2409.         are:
  2410.  
  2411.         A computer virus has a number of different parts.  First, some 
  2412.         viruses (some people consider the plural of 'virus' to be 'virii' 
  2413.         -- I don't) have what is called a 'pre-trigger'.  If the pre-
  2414.         trigger does not go off, then the infected program will work 
  2415.         normally, as if not infected.  What makes a pre-trigger go off?
  2416.  
  2417.         Almost anything the virus writer wants.  It can be made to go off 
  2418.         when the disk is more than a certain amount full, or when more 
  2419.         than a certain amount of memory is in use by your programs.  Or, 
  2420.         perhaps, when a certain date comes or has past.  Or, if a certain 
  2421.         program exists on your hard disk.  Fancifully speaking, it could 
  2422.         be set to go off on the correct phase of the moon.
  2423.  
  2424.         Once the pre-trigger goes off (not many viruses have them, by the 
  2425.         way), the next phase, the 'replication aspect' phase, gets 
  2426.         initiated.  Viruses seem to come in two flavors:  the transient 
  2427.         virus, which is only active when you're running your code, and 
  2428.         the Terminate and Stay Resident kind, which stay active from the 
  2429.         time initiated until you reboot your computer.  There's a third 
  2430.         kind, called a 'boot sector' virus, but that'll be discussed 
  2431.         below.
  2432.  
  2433.         When you invoke a program, infected or not, your computer will 
  2434.         read the image of the program from the disk into the computers 
  2435.         memory, do a little bit of futzing with the program (if it's an 
  2436.         program, letting the program tell it what to do from that point 
  2437.         onwards.  The computer's operating system, in this case MS-DOS, 
  2438.         is really stupid:  it gives total control to the running program 
  2439.         from that moment until the program exits and you get back to your 
  2440.         command line prompt.
  2441.  
  2442.         When you invoke an infected program, it is run just as any other 
  2443.         program. The virus portion of that program will typically be run 
  2444.         first.  After passing the pre-trigger (if any), the replication 
  2445.         aspect will consider what types of files to infect.  For the 
  2446.         standard transient virus, this usually means that a given 
  2447.         directory will have one or more of its .COM or .EXE files 
  2448.         infected.  Some viruses will infect only one program each time 
  2449.         they are run, some will infect many.  It's up to the virus 
  2450.         writer.  Each virus has some characteristic about it which is 
  2451.         unique, and often the virus writer will examine the target .COM 
  2452.         or .EXE file for this characteristic to see if the target program 
  2453.         is already infected.  If it is, then the program will be passed 
  2454.         over and the next one examined and potentially infected.
  2455.  
  2456.         Since the computer simply passes control onto the program once it 
  2457.         is loaded into memory, and then basically forgets about it, if 
  2458.         the first few instructions of the program can be changed to cause 
  2459.         the computer to execute some new instructions, it will blindly do 
  2460.  
  2461.                                        38
  2462.  
  2463.  
  2464.  
  2465.         so.  And that's what a virus does.  It takes the first few 
  2466.         instructions of the program, saves them someplace, and replaces 
  2467.         those instructions with a call to jump to the virus code. When 
  2468.         the virus infected program executes later, it will first run the 
  2469.         virus code, then restore the original code (unless the virus 
  2470.         "goes off", discussed below), and finally will jump to the 
  2471.         beginning of the reconstructed program.  The infected program 
  2472.         executes  as if nothing had happened at all.
  2473.  
  2474.         So, when a virus goes to infect another program, it must add code 
  2475.         to it.  And, must replace at least a few instructions, at least 
  2476.         temporarily, with some of its own.
  2477.  
  2478.         Typically, a virus will add to the end of a program, although not 
  2479.         all viruses work that way.
  2480.  
  2481.         This is how almost all transient viruses work.
  2482.  
  2483.         Another, more sophisticated virus, is called the "TSR virus".  
  2484.         This infects a program similarly to the transient virus, but its 
  2485.         "action" involves leaving a little piece of itself behind (those 
  2486.         in the anti-virus field seem to always call that small part left 
  2487.         behind the "worm trail", or the "slime").  This piece becomes an 
  2488.         active, and permanent, part of your computers operating system.  
  2489.         Typically, it will look for instructions your computer sends in 
  2490.         response to you entering a run command.  When you do, it infects 
  2491.         the program you've requested to run before it is actually 
  2492.         executed, then executes it.
  2493.  
  2494.         Going back to the phases, the third phase is called the "trigger 
  2495.         aspect".  Like the pre-trigger, it depends on how devious the 
  2496.         virus writer is when he or she creates the trigger, and can go 
  2497.         off on just about anything.
  2498.  
  2499.         When it goes off, the final (and most dangerous) phase of the 
  2500.         virus is reached:  the "Trojan aspect".  This is the part that 
  2501.         deletes files, trashes your hard disk, or otherwise makes your 
  2502.         life miserable.
  2503.  
  2504.         And, that's all there is a virus.  An ingenious little piece of 
  2505.         code.  Written by a warped person.  Who could spend their time 
  2506.         better if they spent it doing something constructive instead of 
  2507.         destructive. We already know that, of course.  When they mature a 
  2508.         bit, hopefully they'll find that out.  Before they've hurt anyone 
  2509.         else.
  2510.  
  2511.         Oh!  Almost forgot about Boot Sector Viruses.  Here goes:
  2512.  
  2513.         When you turn your computer on, a small program is run before 
  2514.         anything else.  That's called the Boot Sector, and it loads up 
  2515.         some of the important stuff you need to have on your computer in 
  2516.         order for it work.  Little things, like the operating system.  
  2517.         Without the operating system (MS-DOS), your computer is an 
  2518.         expensive paperweight.  Without the Boot Sector, and the program 
  2519.         thereon, you have an expensive paperweight with an inoperable 
  2520.  
  2521.                                        39
  2522.  
  2523.  
  2524.  
  2525.         operating system on it.
  2526.  
  2527.         A Boot Sector Virus replaces the current boot program with 
  2528.         itself, and sticks the original boot sector onto an unused 
  2529.         portion of your disk.  After the Boot Sector Virus has run, 
  2530.         leaving behind a sleazy little worm trail of its own, it will 
  2531.         execute the original boot program.  You'll have an infected 
  2532.         system even before an anti-virus program is run!
  2533.  
  2534.         When you access some other disk, the worm trail of the Boot 
  2535.         Sector Virus will examine the boot sector of that disk.  If not 
  2536.         infected, it will infect it.  Very simple.  And the infected 
  2537.         diskette waits for you to pass it on to one of your friends, who 
  2538.         will then (by booting on that disk) infect their own drive.  And 
  2539.         so.  The moral here:  never boot up your system on anyone else's 
  2540.         disk and you'll be a much happier person.
  2541.  
  2542.  
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.                                        40
  2583.